package com.mb.app.dao;

import com.mb.app.domain.TbOrder;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mb.app.domain.TbProductInfo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author liliping
 * @since 2019-04-15
 */
public interface TbOrderMapper extends BaseMapper<TbOrder> {

    List<TbOrder> selectOrderList(Map<String, Object> map);

    List<TbProductInfo> lst(Map<String, Object> map);

    int countt(Map<String, Object> map);

    List<TbProductInfo> getProducts(String orderId);

    TbOrder selectByIdAndShip(String orderId);

    Map<String,Object> selectOrderItem(Map<String,Object> map);

    int updateItem(Map<String,Object> map);

}